package org.vshe.improve.hibernate.recipes.domain;

import javax.persistence.Entity;
import javax.persistence.PrimaryKeyJoinColumn;
import javax.persistence.Table;

@Entity
@Table(name = "VIDEO_disk_3")
public class VideoDisk_3 extends Disk_3 {
	
	private static final long serialVersionUID = -1106716821429679335L;
	
	private String director;
	private String language;
	
	public VideoDisk_3() {
		super();
	}

	public String getDirector() {
		return director;
	}

	public void setDirector(String director) {
		this.director = director;
	}

	public String getLanguage() {
		return language;
	}

	public void setLanguage(String language) {
		this.language = language;
	}

	@Override
	public String toString() {
		return "VideoDisk [director=" + director + ", language=" + language
				+ ", getId()=" + getId() + ", getName()=" + getName()
				+ ", getPrice()=" + getPrice() + "]";
	}

	
	
	
	
	
	
}
